package com.dao;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.po.RecruitDetailInfoPO;
@Repository
public class RecruitDetailDao {
	@Autowired
	private SqlSessionTemplate sqlTemplate;
	
	/**
	 * 查询详细的招聘信息
	 * @param id
	 * @return
	 */
	
	public RecruitDetailInfoPO findRecruitDetailById(int id) {
		return sqlTemplate.selectOne("recruitDetail.findRecruitDetailById",id);
	}
	
	
	
}
